package com.ylsd.dynamic.service;

import com.ylsd.dynamic.entity.DynamicCatalogin;
import com.ylsd.dynamic.entity.DynamicList;
import com.ylsd.dynamic.entity.School;
import org.ylsdxy.model.response.CustomPage;

import java.util.List;

public interface DynamicService {

    CustomPage<List<DynamicCatalogin>> findByPage(DynamicCatalogin dynamicCatalogin);

    boolean insertDC(DynamicCatalogin dynamicCatalogin);

    boolean delDC(List<Integer> id);

    boolean updatetDC(DynamicCatalogin dynamicCatalogin);

    CustomPage<List<DynamicList>> findDLByPage(DynamicList dynamicList);

    boolean insertDL(DynamicList dynamicList);

    boolean updateDL(DynamicList dynamicList);

    boolean delDL(List<Integer> id);

    List<School> choiceSchool();

    List<DynamicCatalogin> search(Integer id);

    List<DynamicCatalogin> choiceDynamic();

    String findImgById();
}
